package cn.stylefeng.guns.modular.basic.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 门店账户
 * </p>
 *
 * @author wp
 * @since 2025-08-27
 */
@TableName("store_account")
@Data
public class StoreAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 门店id
     */
    @TableField("store_id")
    private Integer storeId;

    /**
     * 门店名称
     */
    @TableField("store_name")
    private String storeName;

    /**
     * 账户
     */
    @TableField("account")
    private String account;

    /**
     * 余额
     */
    @TableField("remaining_sum")
    private BigDecimal remainingSum;


    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 创建人
     */
    @TableField("create_by")
    private String createBy;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 修改人
     */
    @TableField("update_by")
    private String updateBy;


}
